import { TableColumn, TreeNode } from "@/interface/commonTypes.ts";
import { SpecificationTableData, VarietyTableData } from "@/interface/medSupCatalog.ts";

export const treeData: TreeNode[] = [
  {
    label: '卫材目录',
    children: [
      {
        label: '[21]氧气费(A)'
      },
      {
        label: '[21]放射材料(B)',
        children: [
          {
            label: '[BA]1、医用胶片'
          },
          {
            label: '[BA]2、放射性材料'
          }
        ]
      },
      {
        label: '[22]护理材料(C)',
        children: [
          {
            label: '[CA]1、纱布'
          },
          {
            label: '[CB]2、胶布'
          }
        ]
      },
      {
        label: '[23]手术材料(D)',
        children: [
          {
            label: '[DA]1、手术刀'
          },
          {
            label: '[DB]2、缝合线'
          }
        ]
      },
      {
        label: '[24]检查材料(E)',
        children: [
          {
            label: '[EA]1、CT扫描'
          },
          {
            label: '[EB]2、X光片'
          }
        ]
      },
      {
        label: '[25]消毒材料(F)',
        children: [
          {
            label: '[FA]1、消毒液'
          },
          {
            label: '[FB]2、消毒器'
          }
        ]
      },
      {
        label: '[26]输液材料(G)',
        children: [
          {
            label: '[GA]1、静脉注射器'
          },
          {
            label: '[GB]2、输液管'
          }
        ]
      },
      {
        label: '[27]床位费(H)'
      },
      {
        label: '[28]手术费(I)'
      },
      {
        label: '[29]挂号费(J)'
      }
    ]
  }
];

// 表格列参数
export const varietyTableColumnList: TableColumn[] = [
  {
    "prop": "code",
    "label": "编码"
  },
  {
    "prop": "name",
    "label": "名称"
  },
  {
    "prop": "bulkUnit",
    "label": "散装单位"
  },
  {
    "prop": "genderApplicability",
    "label": "适用性别"
  },
  {
    "prop": "stop",
    "label": "停用"
  }
]

export const varietyList: VarietyTableData[] = [
  { name: 'CT片', code: '730', bulkUnit: '盒', genderApplicability: '无性别区分', stop: '' },
  { name: '护具', code: '731', bulkUnit: '个', genderApplicability: '男性', stop: '是' },
  { name: '口罩', code: '732', bulkUnit: '包', genderApplicability: '女性', stop: '否' },
  { name: '药品', code: '733', bulkUnit: '瓶', genderApplicability: '无性别区分', stop: '' },
  { name: '针管', code: '734', bulkUnit: '支', genderApplicability: '男性', stop: '是' },
  { name: '检测试剂', code: '735', bulkUnit: '盒', genderApplicability: '女性', stop: '否' },
  { name: '手术器械', code: '736', bulkUnit: '套', genderApplicability: '无性别区分', stop: '' },
  { name: '药箱', code: '737', bulkUnit: '箱', genderApplicability: '男性', stop: '是' },
  { name: '救护车', code: '738', bulkUnit: '辆', genderApplicability: '女性', stop: '否' },
  { name: '医疗设备', code: '739', bulkUnit: '台', genderApplicability: '无性别区分', stop: '' },
  { name: '口罩', code: '732', bulkUnit: '包', genderApplicability: '女性', stop: '否' },
  { name: '药品', code: '733', bulkUnit: '瓶', genderApplicability: '无性别区分', stop: '' },
  { name: '针管', code: '734', bulkUnit: '支', genderApplicability: '男性', stop: '是' },
  { name: '检测试剂', code: '735', bulkUnit: '盒', genderApplicability: '女性', stop: '否' },
  { name: '手术器械', code: '736', bulkUnit: '套', genderApplicability: '无性别区分', stop: '' },
  { name: '药箱', code: '737', bulkUnit: '箱', genderApplicability: '男性', stop: '是' },
  { name: '救护车', code: '738', bulkUnit: '辆', genderApplicability: '女性', stop: '否' },
  { name: '医疗设备', code: '739', bulkUnit: '台', genderApplicability: '无性别区分', stop: '' },
]

export const specifyTableData: SpecificationTableData[] = [
  {
    countryCode: '001',
    code: 'A001',
    specification: '100ml',
    manufacturer: '厂家A',
    name: '商品A',
    serviceObject: '服务对象A',
    materialSource: '材料来源A',
    selfMade: '自制A',
    agreement: '协定A',
    tender: '招标A',
    registrationNumber: '123456',
    contractUnit: '单位A',
    description: '说明A',
    alternativeCode: '备选码A',
  },
  {
    countryCode: '002',
    code: 'B002',
    specification: '200ml',
    manufacturer: '厂家B',
    name: '商品B',
    serviceObject: '服务对象B',
    materialSource: '材料来源B',
    selfMade: '自制B',
    agreement: '协定B',
    tender: '招标B',
    registrationNumber: '789012',
    contractUnit: '单位B',
    description: '说明B',
    alternativeCode: '备选码B',
  },
  {
    countryCode: '003',
    code: 'C003',
    specification: '300ml',
    manufacturer: '厂家C',
    name: '商品C',
    serviceObject: '服务对象C',
    materialSource: '材料来源C',
    selfMade: '自制C',
    agreement: '协定C',
    tender: '招标C',
    registrationNumber: '345678',
    contractUnit: '单位C',
    description: '说明C',
    alternativeCode: '备选码C',
  },
  {
    countryCode: '004',
    code: 'D004',
    specification: '400ml',
    manufacturer: '厂家D',
    name: '商品D',
    serviceObject: '服务对象D',
    materialSource: '材料来源D',
    selfMade: '自制D',
    agreement: '协定D',
    tender: '招标D',
    registrationNumber: '901234',
    contractUnit: '单位D',
    description: '说明D',
    alternativeCode: '备选码D',
  },
  {
    countryCode: '005',
    code: 'E005',
    specification: '500ml',
    manufacturer: '厂家E',
    name: '商品E',
    serviceObject: '服务对象E',
    materialSource: '材料来源E',
    selfMade: '自制E',
    agreement: '协定E',
    tender: '招标E',
    registrationNumber: '567890',
    contractUnit: '单位E',
    description: '说明E',
    alternativeCode: '备选码E',
  },
  {
    countryCode: '006',
    code: 'F006',
    specification: '600ml',
    manufacturer: '厂家F',
    name: '商品F',
    serviceObject: '服务对象F',
    materialSource: '材料来源F',
    selfMade: '自制F',
    agreement: '协定F',
    tender: '招标F',
    registrationNumber: '234567',
    contractUnit: '单位F',
    description: '说明F',
    alternativeCode: '备选码F',
  },
  {
    countryCode: '007',
    code: 'G007',
    specification: '700ml',
    manufacturer: '厂家G',
    name: '商品G',
    serviceObject: '服务对象G',
    materialSource: '材料来源G',
    selfMade: '自制G',
    agreement: '协定G',
    tender: '招标G',
    registrationNumber: '890123',
    contractUnit: '单位G',
    description: '说明G',
    alternativeCode: '备选码G',
  },
  {
    countryCode: '008',
    code: 'H008',
    specification: '800ml',
    manufacturer: '厂家H',
    name: '商品H',
    serviceObject: '服务对象H',
    materialSource: '材料来源H',
    selfMade: '自制H',
    agreement: '协定H',
    tender: '招标H',
    registrationNumber: '345678',
    contractUnit: '单位H',
    description: '说明H',
    alternativeCode: '备选码H',
  },
  {
    countryCode: '009',
    code: 'I009',
    specification: '900ml',
    manufacturer: '厂家I',
    name: '商品I',
    serviceObject: '服务对象I',
    materialSource: '材料来源I',
    selfMade: '自制I',
    agreement: '协定I',
    tender: '招标I',
    registrationNumber: '901234',
    contractUnit: '单位I',
    description: '说明I',
    alternativeCode: '备选码I',
  },
  {
    countryCode: '010',
    code: 'J010',
    specification: '1000ml',
    manufacturer: '厂家J',
    name: '商品J',
    serviceObject: '服务对象J',
    materialSource: '材料来源J',
    selfMade: '自制J',
    agreement: '协定J',
    tender: '招标J',
    registrationNumber: '567890',
    contractUnit: '单位J',
    description: '说明J',
    alternativeCode: '备选码J',
  },
];
